#!/usr/bin/env python
#coding:utf-8
from CGIHTTPServer import CGIHTTPRequestHandler
from BaseHTTPServer import HTTPServer

server_address=('',8000)
print '服务器运行中...'
httpd = HTTPServer(server_address, CGIHTTPRequestHandler)
httpd.serve_forever()
